home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18080 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: ix.netcom.com!news
  2. From: Grady Dill <gndill@ix.netcom.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland class library problem (TDate)
  5. Date: Wed, 17 Apr 1996 23:25:58 -0500
  6. Organization: Netcom
  7. Message-ID: <3175C456.73C9@ix.netcom.com>
  8. References: <hesterDq0n4L.B51@netcom.com>
  9. NNTP-Posting-Host: bir-al2-13.ix.netcom.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-NETCOM-Date: Wed Apr 17 11:31:56 PM CDT 1996
  14. X-Mailer: Mozilla 2.0 (Win95; I)
  15.  
  16. Jim Hester wrote:
  17. > Does anyone know if there is a problem with the TDate class in Borland C++
  18. > version 4.5?
  19. > I have BCC4.5 fully installed on C:, and use the command-line compiler.
  20. > When I try to use the TDate class, the linker can't find the object code.
  21. > For example, if I compile the following:
  22. >             #include<classlib/date.h>
  23. >             void main()
  24. >             {
  25. >                TDate D;
  26. >             }
  27. > The compilation phase goes OK but the linker complains that it can't find
  28. > method TDate::TDate().  I HAVE successfully used other classlib objects (the
  29. > container classes, for example).
  30. > Any ideas?
  31. > Thanks in advance,
  32. >      _           _   _
  33. >     / )         ' )   )       _/_
  34. >    (_/  . __     /---/ _  _   /  _  __
  35. >   / /\_/_///_   /   (_</_/_)_<__</_/ (_
  36. >  (_/
  37. > hester@netcom.com
  38. >
  39.  
  40. Jim,
  41.  
  42. I don't know of any problem with 4.5x concerning this.  Your code sample looks
  43. fine to me.  Obviously the linker can't find the LIB it needs.  If you're dealing
  44. with a 16-bit app, make sure you're using the correct library for your memory
  45. model.  I'm not sure what else to suggest.  Good luck
  46.  
  47. Grady
  48.